home *** CD-ROM | disk | FTP | other *** search
/ QRZ! Ham Radio 8 / QRZ Ham Radio Callsign Database - Volume 8.iso / mac / unix / next / for_fred.txt < prev    next >
Text File  |  1996-06-25  |  1KB  |  23 lines

  1. Hi, Fred,
  2.  
  3. Here are my fixes for running your mknlist, nsort, and call under NeXTStep.
  4. The primary problem is that NeXTStep has a funky version of mmap() in that
  5. you have to use the Mach vm_allocate() routine to allocate memory before
  6. call mmap().  Also, there is no munmap(), so I just use the Mach
  7. vm_deallocate().  This all works well except in nsort where I had to add
  8. an #ifdef section to write the sorted file back out to disk.  I tested my
  9. changes on both an M68xxx NeXT and an Intel box running NeXTStep.  It works
  10. under both NeXTStep 3.0 and 3.2.  I expect it will work under any version
  11. of NeXT.
  12.  
  13. I also wanted to give you fat binaries of the executables that would run
  14. under both M68K's and Intel machines, but none of the NeXT's I currently
  15. have have the multiple architecture support loaded.  So, the best I can do
  16. at this point is generate two sets of executables.
  17.  
  18. So, feel free to use, or not to use, this stuff as you see fit.  If you 
  19. would like to make some changes, let me know and I'll give it a shot.
  20.  
  21. 73,  Benjy, AC4XO
  22. benjy@benjy.cc.vt.edu
  23.